﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class IntensifyNPC:IronNPC
    {
        public string intensify { get; set; }
        public IntensifyNPC(string name, NpcType type, string intensify) : base(name, type)
        {
            this.name = name;
            this.type = type;
            this.intensify = intensify;
        }

        public override void Speak()
        {
            Console.WriteLine("我是{0}，我能{1}", base.name, this.intensify);
        }
    }
}
